<template>
	<view>
<!-- 		{{url}}
		<br>
		{{device}} -->
	</view>
</template>

<script>
	const app = getApp()
	// import {WECHART_CODE_URL} from '../../config/projectConfig.js'
	export default {
		data() {
			return {
				url: '',
				device: ''
			}
		},
		onLoad() {
			this.url = app.globalData.WECHART_CODE_URL
			this.device = app.globalData.deviceInfo.platform
			// if(app.deviceInfo.platform === 'ios'){
			// 	window.location = app.globalData.WECHART_CODE_URL;
			// }else {
			// 	window.open(app.globalData.WECHART_CODE_URL)
			
			// }
			window.location.href = app.globalData.WECHART_CODE_URL
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
